TEMPLATE=app
TARGET=unrar
CONFIG += release

SOURCES += \
filestr.cpp recvol.cpp rs.cpp scantree.cpp \
rar.cpp strlist.cpp strfn.cpp pathfn.cpp savepos.cpp smallfn.cpp global.cpp file.cpp filefn.cpp filcreat.cpp \
	archive.cpp arcread.cpp unicode.cpp system.cpp isnt.cpp crypt.cpp crc.cpp rawread.cpp encname.cpp \
	resource.cpp match.cpp timefn.cpp rdwrfn.cpp consio.cpp options.cpp ulinks.cpp errhnd.cpp rarvm.cpp \
	rijndael.cpp getbits.cpp sha1.cpp extinfo.cpp extract.cpp volume.cpp list.cpp find.cpp unpack.cpp cmddata.cpp

HEADERS += \
filestr.hpp recvol.hpp rs.hpp scantree.hpp \
rar.hpp strlist.hpp strfn.hpp pathfn.hpp savepos.hpp smallfn.hpp global.hpp file.hpp filefn.hpp filcreat.hpp \
	archive.hpp arcread.hpp unicode.hpp system.hpp isnt.hpp crypt.hpp crc.hpp rawread.hpp encname.hpp \
	resource.hpp match.hpp timefn.hpp rdwrfn.hpp consio.hpp options.hpp ulinks.hpp errhnd.hpp rarvm.hpp \
	rijndael.hpp getbits.hpp sha1.hpp extinfo.hpp extract.hpp volume.hpp list.hpp find.hpp unpack.hpp cmddata.hpp

#unix:QMAKE_POST_LIST=strip $(TARGET)

contains(MEEGO_EDITION,harmattan) {
    QMAKE_POST_LIST=strip $(TARGET)
    target.path = /opt/meecomicui/bin
    INSTALLS += target
}

OTHER_FILES += \
    qtc_packaging/debian_harmattan/rules \
    qtc_packaging/debian_harmattan/README \
    qtc_packaging/debian_harmattan/manifest.aegis \
    qtc_packaging/debian_harmattan/copyright \
    qtc_packaging/debian_harmattan/control \
    qtc_packaging/debian_harmattan/compat \
    qtc_packaging/debian_harmattan/changelog

